#ifndef TRACKACTOR_H
#define TRACKACTOR_H

#include <OgreMeshManager.h>
#include <OgreMesh.h>
#include <OgreResourceGroupManager.h>
#include <OgreManualObject.h>
#include <vector>

#include "Actor.h"

class Track;
class JetActor;
class TrackActor:public Actor
{
    public:
        TrackActor(Ogre::SceneManager *scene, Track *track);
        virtual ~TrackActor()
        {
        }
        virtual void Update(float timedelta)
        {
        }
    protected:
        virtual void initCameras()
        {
        }
    private:
        Track *m_track;

        std::vector<JetActor*>   m_jetActorList;

        Ogre::ManualObject*     m_manualObject;

        void build_track();

        Ogre::String m_trackMeshName;
};

#endif // TRACKACTOR_H
